package com.order.distribute.uitl;

import java.io.Serializable;
import java.util.List;

public class BaseRespons implements Serializable{
	private static final long serialVersionUID = 8131640102040244551L;
	private int state = 1;
	private String msg ="success";
	private Object data = null;
	private int count=0;
	
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	 
	public int getState() {
		return state;
	}
	public void setState(int state) {
		this.state = state;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public BaseRespons(int state,String mgs,Object data) {
		  this.data=data;
		  this.msg=msg;
		  this.state=state;
		 
	}
	public BaseRespons(int state,String msg) {
		  this.msg  =msg;
		  this.state=state;
	 
	}
	public BaseRespons(Object data) {
		  this.data=data;
	}
	public BaseRespons(int state,Object data) {
		  this.state=state;
		  this.data=data;
	}
	public BaseRespons() {
		 
	}
	
	
   
}
